<div class="clearfix pam mbl por" style="border:solid 1px #999;">
	<div class="poa" style="right:10px;top:10px">
		<?php echo CHtml::link(NHtml::icon('ss_delete', Yii::t('backend', 'Xóa')),array('deleteGroup','id'=>$data->id),array('class'=>'ajax-delete-trigger')) ?>
	</div>	
	<div class="fwb fsl">
		<span class="ajax-update-inline-trigger" data-width="60" data-href="<?php echo $this->createUrl('updateGroupAttr',array('id'=>$data->id,'attr'=>'name')) ?>" data-type="textField"><?php echo $data->name ?></span>
	</div>
	<div>
		<span class="ajax-update-inline-trigger" data-width="60" data-href="<?php echo $this->createUrl('updateGroupAttr',array('id'=>$data->id,'attr'=>'description')) ?>" data-type="textArea"><?php echo $data->description ?></span>
		<?php 
		foreach ($data->settings as $index=>$setting): ?>
			<div class="clearfix">
				<div class="left" style="width:30px"><?php echo ++$index ?></div>
				<?php echo CHtml::link($setting->description, array('update','id'=>$setting->id)) ?>
			</div>
		<?php endforeach ?>

		<hr />
		<div class='fwb'>
			<?php echo CHtml::link(NHtml::icon('ss_add') . Yii::t('websetting','Cài đặt mới'), array('create','group_id'=>$data->id)) ?>
		</div>

	</div>
</div>
